package com.zheng.rpc.registry;

import com.zheng.rpc.extensions.SPI;

import java.net.InetSocketAddress;

@SPI
public interface ServiceRegistry {
    /**
     * 服务注册
     * @param serviceName
     * @param address
     */
    void registryService(String serviceName, InetSocketAddress address);
}
